package org.example.day20240814;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        // 回车使用scanner.nextLine()消掉
        // 输入
        //5
        //4 5 6
        int num = scanner.nextInt();
        scanner.nextLine();
        String str = scanner.nextLine();

        //join 拼接字符数组
        String msg = "0-670-8275-X";
        String[] arr = msg.split("-");
        String.join("-",arr);
    }
}
